package com.zeng.jiudian.service;

import com.zeng.jiudian.bean.NewModel;

import java.util.List;

/**
 * @Author JJ_yo
 * @Date 2020/7/27 - 15:13
 */
public interface NewService
{
    public int add(NewModel newModel);

    public List<NewModel> findAll(NewModel newModel);

    public int getCount(NewModel newModel);

    public int delete(int id);

    public NewModel findById(int id);

    public int update(NewModel newModel);

    public List<NewModel> findNewByRecommend();

    public List<NewModel> findFacByRecommend();
}
